import request from '@/utils/request'

// 查询客服工作日志
export function list(query) {
    return request({
        url: '/yzxmp/customerservice/querydayreport',
        method: 'get',
        params: query
    })
}

// 提交工作日志
export function submit(query) {
    return request({
        url: '/yzxmp/customerservice/applydayreport',
        method: 'post',
        headers: {
            'Content-Type': 'application/json'
        },
        data: query
    })
}
// 删除工作日志
export function decline(query) {
    return request({
        url: '/yzxmp/customerservice/deletedayreport',
        method: 'post',
        headers: {
            'Content-Type': 'application/json'
        },
        data: query
    })
}
// 查询客服人员列表
export function personlist(query) {
    return request({
        url: '/yzxmp/customerservice/queryreportpersonlist',
        method: 'get',
        params: query
    })
}
